:root {
  --text-bgc: #1a1a1a;
  --text-color: #e9e5ce;
  --handle-color: #a1a1a1;
  --handle-active-bgc: #2e2e2e;
  --handle-active-color: #eeeeee;
}

body {
  background-color: #979797;
}

#container {
  overflow: hidden;
  width: 600px;
  margin: auto;
  padding: 20px 30px;
  background-color: #222222;
  color: var(--text-color);
}

h2.title {
  margin: 0 0 20px 0;
}

#handle {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.add {
  padding: 0 10px;
  background-color: var(--text-bgc);
  color: var(--handle-color);
  border: none;
  outline: none;
}

.add:hover {
  color: #e2e2e2;
}

.add:active {
  color: #e2e2e2;
  background-color: #2b2b2b;
}

.sort {
  display: flex;
  line-height: 30px;
}

.sort div {
  display: inline-block;
}

.sort .title {
  margin-right: 10px;
}

.sort .option {
  padding: 0 10px;
  background-color: var(--text-bgc);
  color: var(--handle-color);
  cursor: pointer;
}

.sort .option:hover {
  background-color: var(--handle-active-bgc);
  color: var(--handle-active-color);
}

.option.active {
  background-color: var(--handle-active-bgc);
  color: var(--handle-active-color);
}

#movies {
  position: relative;
  height: 0;
  transition: height 1s ease-in-out;
}

.row {
  display: flex;
  position: absolute;
  height: 80px;
  align-items: center;
  margin-bottom: 5px;
  padding: 10px 0;
  background-color: var(--text-bgc);
  transition: transform 1s ease-in-out, opacity 1s ease-out;
}

.row div {
  padding-left: 8px;
  overflow: hidden;
}

.row .rank {
  width: 5%;
}

.row .title {
  width: 15%;
}

.row .desc {
  width: 75%;
  height: 100%;
}

.row .remove {
  position: absolute;
  top: 0px;
  right: 5px;
  color: var(--handle-color);
  cursor: pointer;
}

.remove:hover {
  color: #ececec;
}
